package class1;

public class Test {
    public static void main(String[] args) {
        Student me = new Student(2021310840, "顾子骏", "男");
        System.out.println("学生信息");
        System.out.println(me);
        Teacher A = new Teacher(01, "张老师", "女", "线性代数");
        System.out.println("教师信息");
        System.out.println(A);
        Course a = new Course("线性代数", 01, "教1", 90f);
        System.out.println("课程信息");
        System.out.println(a);
        Teacher B = new Teacher(02, "王老师", "男", "高数");
        System.out.println("教师信息");
        System.out.println(B);
        Course b = new Course("高数", 02, "教2", 90f);
        System.out.println("课程信息");
        System.out.println(b);
        
        me.tuike();
        me.delete();

    }
}   